package com.vallis.mapper;

import java.util.List;

import com.vallis.model.Customer;

public interface CustomerMapper {
    Customer selectByPrimaryKey(Integer id);
    List<Customer> findAll();
    List<Customer> findMyAfter(int id);
    Customer login(String phone);
    
    Customer findByCertNum(String cert);
    
    
    int deleteByPrimaryKey(Integer id);

    int insert(Customer record);

    int insertSelective(Customer record);


    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);
}
